#include <QCoreApplication>
#include <iostream>
using namespace std;
int main()
{
    int B,A;
    cout<<"A=";
    cin >>A;
    cout << "B=";
    cin >>B;
    if (A==B)
    {
        A=0;
        B=0;
    }
    else
    {
        A=A+B;
        B=A+B;
    }
    cout <<"Otvet:"<<endl<<"A="<<A<<endl<<"B="<<B;
    return 0;
    }
